﻿@using System.Web.Mvc.Html
@model Web7.Core.Security.User
@{
    Layout = Html.GetManagementLayout();
}
<div  >
@using (Html.BeginForm()) {
        <fieldset>
            <legend>帐户信息</legend>
            <input type="hidden" id="Id" name="Id" value="@Model.Id" />
            <label>用户名：</label><input type="text" id="UserName" name="UserName" value="@Model.Username" /><br />
            <label>Email：</label><input type="text" id="Email" name="Email" value="@Model.Email" /><br />
            <label>状态：</label>
            <select id="Status" name="Status">
                <option value="0" @((((int)Model.Status) == 0) ? "selected = \"selected\"" : "")>未设置</option>
                <option value="1" @((((int)Model.Status) == 1) ? "selected = \"selected\"" : "")>正常</option>
                <option value="2" @((((int)Model.Status) == 2) ? "selected = \"selected\"" : "")>未审核</option>
                <option value="3" @((((int)Model.Status) == 3) ? "selected = \"selected\"" : "")>已删除</option>
            </select><br />
            <label><input id="btnPost" name="btnPost" type="submit" value="Edit" /></label>
       </fieldset>
}
</div>